package com.twt.entity;

import lombok.Data;

@Data
public class Message implements Comparable<Message>{
    private int bottleId;
    private String ThrowUserName;
    private String ThrowNickName;
    private String PickUserName;
    private String PickNickName;
    private String sendUserName;
    private String sendNickName;
    private String Message;
    private String Time;


    @Override
    public int compareTo(com.twt.entity.Message o) {

        return Time.compareTo(o.getTime());
    }
}
